package com.rahwi.rahwi_server.Service.Interface;

import com.rahwi.rahwi_server.vo.params.LoginParams;
import com.rahwi.rahwi_server.vo.params.RegisterParams;
import com.rahwi.rahwi_server.vo.results.ActionResult;

/**
 * @Interface ILoginService
 * @Description
 * @Date 2021/12/12 14:16
 * @Autor mjw
 * @Version 1.0
 */
public interface ILoginService {

    /**
     * 初次登录 生成token，此后登录需携带token
     * @param loginParams
     * @return
     */
    ActionResult checkLogin(LoginParams loginParams);

    ActionResult register(RegisterParams registerParams);
}
